<%--
  Created by IntelliJ IDEA.
  User: liuqing
  Date: 2024/11/20
  Time: 21:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ include file="header.jsp"%>

<main>
    <section>
        <h4>添加小说</h4>
        <form action="UserNovelAddServlet?user_id=${user.user_id}" method="post" class="user-info">
            <div class="user-info-item">
                <div class="user-info-title">小说名:</div>
                <input type="text" class="user-info-content" name="title" required>
            </div>
            <div class="user-info-item">
                <div class="user-info-title">作者:</div>
                <input type="text" class="user-info-content" name="author" required>
            </div>
            <div class="user-info-item">
                <div class="user-info-title">详情:</div>
                <input type="text" class="user-info-content" name="description" required>
            </div>
            <div class="user-info-item">
                <div class="user-info-title">图片链接:</div>
                <input type="text" class="user-info-content" name="cover_image_url" required>
            </div>
            <div class="user-info-item">
                <div class="user-info-title">类型:</div>
                <input type="text" class="user-info-content" name="category" required>
            </div>
            <div class="user-info-item">
                <div class="user-info-title">状态:</div>
                <input type="text" class="user-info-content" name="statu_s" required>
            </div>
            <button type="submit" class="update-button">添加</button>
            <button class="update-button"><a href="index.jsp" Style="text-decoration: none;color: white">返回</a></button><!-- 假设 edit_profile.jsp 是修改信息的页面 -->
        </form>
    </section>
</main>


<%@ include file="footer.jsp"%>
